home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-07-14 | 7.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 24 00 00 08 f3 00 00 | 00 24 61 32 35 41 00 00 |.$......|.$a25A..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0a 49 73 43 74 6c | 45 76 65 6e 74 00 00 06 |...IsCtl|Event...|
|00000060| 00 00 00 00 00 b4 00 00 | 08 f4 00 00 00 b4 00 00 |........|........|
|00000070| 00 14 03 c1 00 28 05 7e | 00 ff 00 00 00 00 00 00 |.....(.~|........|
|00000080| 0f a8 00 00 00 00 4e 1c | 00 00 00 09 00 00 00 04 |......N.|........|
|00000090| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 83 00 | 0b 40 10 6b 53 63 72 65 |........|.@.kScre|
|000000b0| 65 6e 41 50 49 2f 31 39 | 39 39 36 00 06 47 65 6e |enAPI/19|996..Gen|
|000000c0| 65 76 61 00 00 5a 73 68 | 6f 72 74 20 49 73 43 74 |eva..Zsh|ort IsCt|
|000000d0| 6c 45 76 65 6e 74 28 57 | 69 6e 64 6f 77 50 74 72 |lEvent(W|indowPtr|
|000000e0| 20 77 69 6e 64 6f 77 2c | 20 45 76 65 6e 74 52 65 | window,| EventRe|
|000000f0| 63 6f 72 64 20 2a 65 76 | 65 6e 74 2c 20 43 6f 6e |cord *ev|ent, Con|
|00000100| 74 72 6f 6c 48 61 6e 64 | 6c 65 20 2a 63 74 6c 2c |trolHand|le *ctl,|
|00000110| 20 73 68 6f 72 74 20 2a | 61 63 74 69 6f 6e 29 3b | short *|action);|
|00000120| 00 00 00 06 00 00 00 00 | 00 7d 00 00 08 f5 00 00 |........|.}......|
|00000130| 00 7d 00 00 00 00 03 c1 | 00 14 05 7e 00 ff 00 00 |.}......|...~....|
|00000140| 00 00 00 00 0f a8 00 00 | 00 00 4e 1d 00 00 00 09 |........|..N.....|
|00000150| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000160| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 14 6b |........|.....@.k|
|00000170| 53 63 72 65 65 6e 4f 6e | 65 4c 69 6e 65 2f 31 39 |ScreenOn|eLine/19|
|00000180| 39 39 37 00 06 47 65 6e | 65 76 61 00 00 1f 4c 65 |997..Gen|eva...Le|
|00000190| 74 20 61 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 |t a cont|rol hand|
|000001a0| 6c 65 20 74 68 65 20 65 | 76 65 6e 74 2e 00 00 00 |le the e|vent....|
|000001b0| 06 00 00 00 00 00 44 00 | 00 08 f6 00 00 00 44 00 |......D.|......D.|
|000001c0| 00 00 00 02 6b 04 40 02 | 6c 01 00 00 00 00 00 00 |....k.@.|l.......|
|000001d0| 01 0f f1 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 06 00 00 00 | 00 00 c4 00 00 08 f7 00 |........|........|
|00000210| 00 00 c4 00 00 00 00 02 | 6b 02 28 03 c1 00 ff 00 |........|k.(.....|
|00000220| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 16 00 00 00 |........|...N....|
|00000230| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000240| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 0b |........|......@.|
|00000250| 6c 69 6e 6b 73 2f 31 39 | 39 39 30 00 06 4d 6f 6e |links/19|990..Mon|
|00000260| 61 63 6f 00 00 59 61 31 | 32 42 2c 43 4c 43 6c 69 |aco..Ya1|2B,CLCli|
|00000270| 63 6b 0d 61 31 33 37 2c | 43 4c 4b 65 79 0d 61 31 |ck.a137,|CLKey.a1|
|00000280| 33 39 2c 43 4c 4e 65 77 | 0d 61 31 36 31 2c 43 54 |39,CLNew|.a161,CT|
|00000290| 45 43 6c 69 63 6b 0d 61 | 31 37 34 2c 43 54 45 4b |EClick.a|174,CTEK|
|000002a0| 65 79 0d 61 31 37 36 2c | 43 54 45 4e 65 77 0d 61 |ey.a176,|CTENew.a|
|000002b0| 32 35 41 2c 49 73 43 74 | 6c 45 76 65 6e 74 0d 00 |25A,IsCt|lEvent..|
|000002c0| 16 00 01 00 00 00 00 00 | 10 00 0c 00 01 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 1a ed 00 |........|........|
|000002e0| 00 08 f8 00 00 1a ed 00 | 00 00 00 00 00 75 30 02 |........|.....u0.|
|000002f0| 6b 01 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |k.......|.......N|
|00000300| 1f 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|00000310| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000320| 00 0b 40 0a 62 6f 64 79 | 2f 31 39 39 39 39 00 06 |..@.body|/19999..|
|00000330| 4d 6f 6e 61 63 6f 00 18 | f3 73 68 6f 72 74 20 49 |Monaco..|.short I|
|00000340| 73 43 74 6c 45 76 65 6e | 74 28 57 69 6e 64 6f 77 |sCtlEven|t(Window|
|00000350| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 45 76 65 6e |Ptr wind|ow, Even|
|00000360| 74 52 65 63 6f 72 64 20 | 2a 65 76 65 6e 74 2c 20 |tRecord |*event, |
|00000370| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 20 2a 63 |ControlH|andle *c|
|00000380| 74 6c 2c 20 73 68 6f 72 | 74 20 2a 61 63 74 69 6f |tl, shor|t *actio|
|00000390| 6e 29 3b 0d 0d 49 4e 50 | 55 54 3a 20 20 77 69 6e |n);..INP|UT: win|
|000003a0| 64 6f 77 20 20 20 20 20 | 20 57 69 6e 64 6f 77 20 |dow | Window |
|000003b0| 74 68 61 74 20 6f 77 6e | 73 20 74 68 65 20 63 6f |that own|s the co|
|000003c0| 6e 74 72 6f 6c 73 20 74 | 68 61 74 20 74 68 65 20 |ntrols t|hat the |
|000003d0| 65 76 65 6e 74 20 69 73 | 20 74 6f 20 62 65 20 61 |event is| to be a|
|000003e0| 70 70 6c 69 65 64 20 74 | 6f 0d 20 20 20 20 20 20 |pplied t|o. |
|000003f0| 20 20 65 76 65 6e 74 20 | 20 20 20 20 20 20 54 68 | event | Th|
|00000400| 65 20 65 76 65 6e 74 20 | 74 6f 20 61 70 70 6c 79 |e event |to apply|
|00000410| 20 74 6f 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 73 | to the |controls|
|00000420| 0d 4f 55 54 50 55 54 3a | 20 63 74 6c 20 20 20 20 |.OUTPUT:| ctl |
|00000430| 20 20 20 20 20 54 68 65 | 20 63 6f 6e 74 72 6f 6c | The| control|
|00000440| 20 74 68 61 74 20 61 74 | 65 20 74 68 65 20 65 76 | that at|e the ev|
|00000450| 65 6e 74 2e 20 20 49 66 | 20 79 6f 75 20 64 6f 6e |ent. If| you don|
|00000460| 27 74 20 63 61 72 65 2c | 20 70 61 73 73 20 69 6e |'t care,| pass in|
|00000470| 20 6e 69 6c 0d 20 20 20 | 20 20 20 20 20 61 63 74 | nil. | act|
|00000480| 69 6f 6e 20 20 20 20 20 | 20 54 68 65 20 61 63 74 |ion | The act|
|00000490| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 72 |ion of t|he contr|
|000004a0| 6f 6c 20 74 68 61 74 20 | 61 74 65 20 74 68 65 20 |ol that |ate the |
|000004b0| 65 76 65 6e 74 2e 20 20 | 49 66 20 79 6f 75 20 64 |event. |If you d|
|000004c0| 6f 6e 27 74 0d 20 20 20 | 20 20 20 20 20 20 20 20 |on't. | |
|000004d0| 20 20 20 20 20 20 20 20 | 20 63 61 72 65 2c 20 70 | | care, p|
|000004e0| 61 73 73 20 69 6e 20 6e | 69 6c 2e 20 20 4e 6f 74 |ass in n|il. Not|
|000004f0| 65 20 74 68 61 74 20 74 | 68 65 20 61 63 74 69 6f |e that t|he actio|
|00000500| 6e 20 76 61 72 69 65 73 | 20 77 69 74 68 20 74 68 |n varies| with th|
|00000510| 65 20 63 6f 6e 74 72 6f | 6c 0d 20 20 20 20 20 20 |e contro|l. |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 79 | | ty|
|00000530| 70 65 2e 0d 52 45 53 55 | 4c 54 3a 20 73 68 6f 72 |pe..RESU|LT: shor|
|00000540| 74 20 20 20 20 20 20 20 | 54 68 65 20 63 6f 6e 74 |t |The cont|
|00000550| 72 6f 6c 20 49 44 20 6f | 66 20 74 68 65 20 63 6f |rol ID o|f the co|
|00000560| 6e 74 72 6f 6c 20 74 68 | 61 74 20 61 74 65 20 74 |ntrol th|at ate t|
|00000570| 68 65 20 65 76 65 6e 74 | 2e 20 20 49 66 20 6e 6f |he event|. If no|
|00000580| 20 63 6f 6e 74 72 6f 6c | 0d 20 20 20 20 20 20 20 | control|. |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 61 74 65 | | ate|
|000005a0| 20 74 68 65 20 65 76 65 | 6e 74 2c 20 74 68 65 6e | the eve|nt, then|
|000005b0| 20 30 20 69 73 20 72 65 | 74 75 72 6e 65 64 2e 20 | 0 is re|turned. |
|000005c0| 20 49 66 20 61 20 64 6f | 63 75 6d 65 6e 74 20 73 | If a do|cument s|
|000005d0| 63 72 6f 6c 6c 62 61 72 | 20 61 74 65 0d 20 20 20 |crollbar| ate. |
|000005e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005f0| 20 74 68 65 20 65 76 65 | 6e 74 2c 20 74 68 65 6e | the eve|nt, then|
|00000600| 20 6b 53 63 72 6f 6c 6c | 45 76 65 6e 74 20 69 73 | kScroll|Event is|
|00000610| 20 72 65 74 75 72 6e 65 | 64 2e 0d 0d 54 68 65 20 | returne|d...The |
|00000620| 70 75 72 70 6f 73 65 20 | 6f 66 20 74 68 69 73 20 |purpose |of this |
|00000630| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 74 6f 20 73 |function| is to s|
|00000640| 69 6d 70 6c 69 66 79 20 | 61 6e 64 20 73 74 61 6e |implify |and stan|
|00000650| 64 61 72 64 69 7a 65 20 | 63 6f 6e 74 72 6f 6c 20 |dardize |control |
|00000660| 68 61 6e 64 6c 69 6e 67 | 20 77 69 74 68 69 6e 0d |handling| within.|
|00000670| 61 20 77 69 6e 64 6f 77 | 2e 20 20 47 69 76 65 6e |a window|. Given|
|00000680| 20 61 6e 20 65 76 65 6e | 74 2c 20 6a 75 73 74 20 | an even|t, just |
|00000690| 63 61 6c 6c 20 49 73 43 | 74 6c 45 76 65 6e 74 2c |call IsC|tlEvent,|
|000006a0| 20 61 6e 64 20 69 66 20 | 69 74 20 72 65 74 75 72 | and if |it retur|
|000006b0| 6e 73 20 61 20 6e 6f 6e | 2d 30 20 76 61 6c 75 65 |ns a non|-0 value|
|000006c0| 2c 0d 74 68 65 20 76 61 | 6c 75 65 20 72 65 70 72 |,.the va|lue repr|
|000006d0| 65 73 65 6e 74 73 20 74 | 68 65 20 63 74 6c 49 44 |esents t|he ctlID|
|000006e0| 20 6f 66 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 2e | of the |control.|
|000006f0| 0d 4e 4f 54 45 3a 20 20 | 20 45 76 65 6e 20 69 66 |.NOTE: | Even if|
|00000700| 20 74 68 65 20 41 70 70 | 73 54 6f 47 6f 20 65 64 | the App|sToGo ed|
|00000710| 69 74 6f 72 20 63 74 6c | 49 44 20 76 61 6c 75 65 |itor ctl|ID value|
|00000720| 20 69 73 20 30 2c 20 49 | 73 43 74 6c 45 76 65 6e | is 0, I|sCtlEven|
|00000730| 74 20 77 69 6c 6c 20 72 | 65 74 75 72 6e 20 61 0d |t will r|eturn a.|
|00000740| 20 20 20 20 20 20 20 20 | 6e 6f 6e 2d 30 20 76 61 | |non-0 va|
|00000750| 6c 75 65 2e 20 20 54 68 | 65 20 76 61 6c 75 65 20 |lue. Th|e value |
|00000760| 69 6e 20 74 68 69 73 20 | 63 61 73 65 20 72 65 70 |in this |case rep|
|00000770| 72 65 73 65 6e 74 73 20 | 74 68 65 20 70 6f 73 69 |resents |the posi|
|00000780| 74 69 6f 6e 61 6c 20 76 | 61 6c 75 65 20 6f 66 0d |tional v|alue of.|
|00000790| 20 20 20 20 20 20 20 20 | 74 68 65 20 63 6f 6e 74 | |the cont|
|000007a0| 72 6f 6c 20 69 6e 20 74 | 68 65 20 63 6f 6e 74 72 |rol in t|he contr|
|000007b0| 6f 6c 20 6c 69 73 74 2e | 20 20 54 68 65 20 66 69 |ol list.| The fi|
|000007c0| 72 73 74 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 20 74 |rst cont|rol in t|
|000007d0| 68 65 20 6c 69 73 74 20 | 69 73 0d 20 20 20 20 20 |he list |is. |
|000007e0| 20 20 20 63 6f 6e 74 72 | 6f 6c 20 23 31 2e 20 20 | contr|ol #1. |
|000007f0| 41 67 61 69 6e 2c 20 74 | 68 69 73 20 69 73 20 6f |Again, t|his is o|
|00000800| 6e 6c 79 20 66 6f 72 20 | 74 68 65 20 63 61 73 65 |nly for |the case|
|00000810| 20 77 68 65 72 65 20 74 | 68 65 20 61 73 73 69 67 | where t|he assig|
|00000820| 6e 65 64 20 63 74 6c 49 | 44 0d 20 20 20 20 20 20 |ned ctlI|D. |
|00000830| 20 20 69 73 20 30 2e 0d | 54 68 69 73 20 63 6f 64 | is 0..|This cod|
|00000840| 65 20 69 6d 70 6c 65 6d | 65 6e 74 73 20 74 68 65 |e implem|ents the|
|00000850| 20 37 2e 30 20 68 75 6d | 61 6e 2d 69 6e 74 65 72 | 7.0 hum|an-inter|
|00000860| 66 61 63 65 20 73 74 61 | 6e 64 61 72 64 73 20 66 |face sta|ndards f|
|00000870| 6f 72 20 62 6f 74 68 20 | 54 65 78 74 45 64 69 74 |or both |TextEdit|
|00000880| 20 61 6e 64 0d 4c 69 73 | 74 20 63 6f 6e 74 72 6f | and.Lis|t contro|
|00000890| 6c 73 2e 20 20 54 68 65 | 73 65 20 73 74 61 6e 64 |ls. The|se stand|
|000008a0| 61 72 64 73 20 69 6e 63 | 6c 75 64 65 20 74 68 65 |ards inc|lude the|
|000008b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 66 65 61 74 75 | followi|ng featu|
|000008c0| 72 65 73 3a 0d 0d 31 29 | 20 20 54 61 62 62 69 6e |res:..1)| Tabbin|
|000008d0| 67 20 62 65 74 77 65 65 | 6e 20 54 65 78 74 45 64 |g betwee|n TextEd|
|000008e0| 69 74 20 61 6e 64 20 4c | 69 73 74 20 63 6f 6e 74 |it and L|ist cont|
|000008f0| 72 6f 6c 73 20 77 69 74 | 68 69 6e 20 61 20 77 69 |rols wit|hin a wi|
|00000900| 6e 64 6f 77 2e 0d 32 29 | 20 20 44 69 73 70 6c 61 |ndow..2)| Displa|
|00000910| 79 69 6e 67 20 77 68 61 | 74 20 69 74 65 6d 20 69 |ying wha|t item i|
|00000920| 73 20 61 63 74 69 76 65 | 2e 20 20 54 68 65 20 61 |s active|. The a|
|00000930| 63 74 69 76 65 20 54 65 | 78 74 45 64 69 74 20 69 |ctive Te|xtEdit i|
|00000940| 74 65 6d 20 69 73 20 69 | 6e 64 69 63 61 74 65 64 |tem is i|ndicated|
|00000950| 0d 20 20 20 20 62 79 20 | 65 69 74 68 65 72 20 61 |. by |either a|
|00000960| 20 62 6c 69 6e 6b 69 6e | 67 20 63 61 72 65 74 2c | blinkin|g caret,|
|00000970| 20 6f 72 20 61 20 73 65 | 6c 65 63 74 69 6f 6e 20 | or a se|lection |
|00000980| 72 61 6e 67 65 2e 0d 33 | 29 20 20 4c 69 73 74 20 |range..3|) List |
|00000990| 70 6f 73 69 74 69 6f 6e | 69 6e 67 20 76 69 61 20 |position|ing via |
|000009a0| 74 68 65 20 6b 65 79 62 | 6f 61 72 64 2e 20 20 45 |the keyb|oard. E|
|000009b0| 6e 74 72 69 65 73 20 6f | 6e 20 74 68 65 20 6b 65 |ntries o|n the ke|
|000009c0| 79 62 6f 61 72 64 20 61 | 75 74 6f 6d 61 74 69 63 |yboard a|utomatic|
|000009d0| 61 6c 6c 79 0d 20 20 20 | 20 73 65 6c 65 63 74 20 |ally. | select |
|000009e0| 61 6e 64 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |and disp|lay the |
|000009f0| 63 6c 6f 73 65 73 74 20 | 4c 69 73 74 20 69 74 65 |closest |List ite|
|00000a00| 6d 2e 20 20 41 6c 73 6f | 2c 20 74 68 65 20 75 70 |m. Also|, the up|
|00000a10| 20 61 6e 64 20 64 6f 77 | 6e 20 61 72 72 6f 77 73 | and dow|n arrows|
|00000a20| 0d 20 20 20 20 73 63 72 | 6f 6c 6c 20 74 68 72 6f |. scr|oll thro|
|00000a30| 75 67 68 20 74 68 65 20 | 6c 69 73 74 2e 0d 34 29 |ugh the |list..4)|
|00000a40| 20 20 44 6f 63 75 6d 65 | 6e 74 20 77 69 6e 64 6f | Docume|nt windo|
|00000a50| 77 20 73 63 72 6f 6c 6c | 62 61 72 73 20 61 72 65 |w scroll|bars are|
|00000a60| 20 68 61 6e 64 6c 65 64 | 2e 0d 35 29 20 20 42 61 | handled|..5) Ba|
|00000a70| 6c 6c 6f 6f 6e 20 68 65 | 6c 70 20 66 6f 72 20 77 |lloon he|lp for w|
|00000a80| 69 6e 64 6f 77 20 63 6f | 6e 74 65 6e 74 73 20 69 |indow co|ntents i|
|00000a90| 73 20 68 61 6e 64 6c 65 | 64 20 28 77 68 65 6e 20 |s handle|d (when |
|00000aa0| 63 61 6c 6c 65 64 20 77 | 69 74 68 20 61 20 4e 55 |called w|ith a NU|
|00000ab0| 4c 4c 20 65 76 65 6e 74 | 29 2e 0d 0d 54 68 65 20 |LL event|)...The |
|00000ac0| 6d 61 69 6e 20 63 61 6c | 6c 20 66 6f 72 20 68 61 |main cal|l for ha|
|00000ad0| 6e 64 6c 69 6e 67 20 74 | 68 65 20 63 6f 6e 74 72 |ndling t|he contr|
|00000ae0| 6f 6c 20 65 76 65 6e 74 | 73 20 69 73 3a 0d 20 20 |ol event|s is:. |
|00000af0| 20 20 73 68 6f 72 74 20 | 20 20 49 73 43 74 6c 45 | short | IsCtlE|
|00000b00| 76 65 6e 74 28 57 69 6e | 64 6f 77 50 74 72 20 77 |vent(Win|dowPtr w|
|00000b10| 69 6e 64 6f 77 2c 20 45 | 76 65 6e 74 52 65 63 6f |indow, E|ventReco|
|00000b20| 72 64 20 2a 65 76 65 6e | 74 2c 0d 20 20 20 20 20 |rd *even|t,. |
|00000b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b40| 20 20 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 20 | Contro|lHandle |
|00000b50| 2a 72 65 74 43 74 6c 2c | 20 73 68 6f 72 74 20 2a |*retCtl,| short *|
|00000b60| 72 65 74 41 63 74 69 6f | 6e 29 3b 0d 0d 54 68 69 |retActio|n);..Thi|
|00000b70| 73 20 63 61 6c 6c 20 68 | 61 6e 64 6c 65 73 20 74 |s call h|andles t|
|00000b80| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 3a 0d 20 20 |he follo|wing:. |
|00000b90| 20 20 31 29 20 44 6f 63 | 75 6d 65 6e 74 20 73 63 | 1) Doc|ument sc|
|00000ba0| 72 6f 6c 6c 69 6e 67 2e | 0d 20 20 20 20 32 29 20 |rolling.|. 2) |
|00000bb0| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|00000bc0| 20 65 76 65 6e 74 73 2e | 0d 20 20 20 20 33 29 20 | events.|. 3) |
|00000bd0| 4c 69 73 74 20 63 6f 6e | 74 72 6f 6c 20 65 76 65 |List con|trol eve|
|00000be0| 6e 74 73 2e 0d 20 20 20 | 20 34 29 20 54 61 62 62 |nts.. | 4) Tabb|
|00000bf0| 69 6e 67 20 28 61 6e 64 | 20 73 68 69 72 74 2d 74 |ing (and| shirt-t|
|00000c00| 61 62 62 69 6e 67 29 20 | 62 65 74 77 65 65 6e 20 |abbing) |between |
|00000c10| 54 65 78 74 45 64 69 74 | 20 61 6e 64 20 6c 69 73 |TextEdit| and lis|
|00000c20| 74 20 63 6f 6e 74 72 6f | 6c 73 2e 0d 20 20 20 20 |t contro|ls.. |
|00000c30| 35 29 20 44 69 73 70 6c | 61 79 69 6e 67 20 74 68 |5) Displ|aying th|
|00000c40| 65 20 73 65 6c 65 63 74 | 65 64 20 54 65 78 74 45 |e select|ed TextE|
|00000c50| 64 69 74 20 6f 72 20 4c | 69 73 74 20 63 6f 6e 74 |dit or L|ist cont|
|00000c60| 72 6f 6c 2e 0d 20 20 20 | 20 36 29 20 42 75 74 74 |rol.. | 6) Butt|
|00000c70| 6f 6e 73 2e 0d 20 20 20 | 20 37 29 20 52 61 64 69 |ons.. | 7) Radi|
|00000c80| 6f 20 62 75 74 74 6f 6e | 73 2e 0d 20 20 20 20 38 |o button|s.. 8|
|00000c90| 29 20 43 68 65 63 6b 20 | 62 6f 78 65 73 2e 0d 20 |) Check |boxes.. |
|00000ca0| 20 20 20 39 29 20 50 6f | 70 75 70 73 20 61 6e 64 | 9) Po|pups and|
|00000cb0| 20 6f 74 68 65 72 20 63 | 6f 6e 74 72 6f 6c 73 2e | other c|ontrols.|
|00000cc0| 0d 20 20 20 31 30 29 20 | 42 61 6c 6c 6f 6f 6e 20 |. 10) |Balloon |
|00000cd0| 68 65 6c 70 20 66 6f 72 | 20 63 6f 6e 74 72 6f 6c |help for| control|
|00000ce0| 73 2e 0d 0d 54 68 65 20 | 64 6f 63 75 6d 65 6e 74 |s...The |document|
|00000cf0| 20 63 6f 6e 74 65 6e 74 | 20 69 73 20 73 63 72 6f | content| is scro|
|00000d00| 6c 6c 65 64 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |lled aut|omatical|
|00000d10| 6c 79 2e 20 20 54 68 65 | 20 75 70 64 61 74 65 52 |ly. The| updateR|
|00000d20| 67 6e 20 69 73 20 73 65 | 74 20 74 6f 20 69 6e 63 |gn is se|t to inc|
|00000d30| 6c 75 64 65 20 74 68 65 | 0d 61 72 65 61 20 73 63 |lude the|.area sc|
|00000d40| 72 6f 6c 6c 65 64 20 69 | 6e 74 6f 20 76 69 65 77 |rolled i|nto view|
|00000d50| 20 61 6e 64 20 74 68 65 | 20 77 69 6e 64 6f 77 20 | and the| window |
|00000d60| 75 70 64 61 74 65 20 70 | 72 6f 63 65 64 75 72 65 |update p|rocedure|
|00000d70| 20 69 73 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c | is auto|maticall|
|00000d80| 79 20 63 61 6c 6c 65 64 | 2e 0d 0d 54 65 78 74 45 |y called|...TextE|
|00000d90| 64 69 74 20 61 6e 64 20 | 4c 69 73 74 20 63 6f 6e |dit and |List con|
|00000da0| 74 72 6f 6c 20 65 76 65 | 6e 74 73 20 61 72 65 20 |trol eve|nts are |
|00000db0| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 68 61 6e 64 6c |complete|ly handl|
|00000dc0| 65 64 2e 20 20 53 69 6e | 63 65 20 74 68 65 20 63 |ed. Sin|ce the c|
|00000dd0| 6f 6e 74 72 6f 6c 73 20 | 61 72 65 20 6a 75 73 74 |ontrols |are just|
|00000de0| 0d 63 6f 6e 74 61 69 6e | 65 72 73 20 66 6f 72 20 |.contain|ers for |
|00000df0| 54 45 52 65 63 6f 72 64 | 73 20 6f 72 20 4c 69 73 |TERecord|s or Lis|
|00000e00| 74 52 65 63 6f 72 64 73 | 2c 20 61 6c 6c 20 6f 74 |tRecords|, all ot|
|00000e10| 68 65 72 20 61 63 63 65 | 73 73 20 69 73 20 75 70 |her acce|ss is up|
|00000e20| 20 74 6f 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | to the |applicat|
|00000e30| 69 6f 6e 2e 0d 0d 53 69 | 6d 70 6c 65 20 62 75 74 |ion...Si|mple but|
|00000e40| 74 6f 6e 73 20 61 72 65 | 20 73 69 6d 70 6c 79 20 |tons are| simply |
|00000e50| 74 72 61 63 6b 65 64 2e | 0d 0d 52 61 64 69 6f 20 |tracked.|..Radio |
|00000e60| 62 75 74 74 6f 6e 73 20 | 61 72 65 20 75 70 64 61 |buttons |are upda|
|00000e70| 74 65 64 20 74 6f 20 72 | 65 66 6c 65 63 74 20 74 |ted to r|eflect t|
|00000e80| 68 65 20 6e 65 77 20 73 | 65 6c 65 63 74 69 6f 6e |he new s|election|
|00000e90| 2e 20 20 52 61 64 69 6f | 20 62 75 74 74 6f 6e 73 |. Radio| buttons|
|00000ea0| 20 61 72 65 20 68 61 6e | 64 6c 65 64 20 61 73 0d | are han|dled as.|
|00000eb0| 66 61 6d 69 6c 69 65 73 | 2e 20 20 54 68 65 20 72 |families|. The r|
|00000ec0| 65 66 43 6f 6e 20 66 69 | 65 6c 64 20 68 6f 6c 64 |efCon fi|eld hold|
|00000ed0| 73 20 74 68 65 20 66 61 | 6d 69 6c 79 20 6e 75 6d |s the fa|mily num|
|00000ee0| 62 65 72 2e 20 20 46 6f | 72 20 61 6e 79 20 67 69 |ber. Fo|r any gi|
|00000ef0| 76 65 6e 20 66 61 6d 69 | 6c 79 2c 20 74 68 65 72 |ven fami|ly, ther|
|00000f00| 65 20 63 61 6e 0d 6f 6e | 6c 79 20 62 65 20 6f 6e |e can.on|ly be on|
|00000f10| 65 20 73 65 6c 65 63 74 | 65 64 20 72 61 64 69 6f |e select|ed radio|
|00000f20| 20 62 75 74 74 6f 6e 2e | 20 20 57 68 65 6e 20 61 | button.| When a|
|00000f30| 20 6e 65 77 20 6f 6e 65 | 20 69 73 20 63 6c 69 63 | new one| is clic|
|00000f40| 6b 65 64 20 6f 6e 2c 20 | 74 68 65 20 6f 6c 64 20 |ked on, |the old |
|00000f50| 73 65 6c 65 63 74 65 64 | 0d 72 61 64 69 6f 20 62 |selected|.radio b|
|00000f60| 75 74 74 6f 6e 20 69 73 | 20 64 65 73 65 6c 65 63 |utton is| deselec|
|00000f70| 74 65 64 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |ted auto|maticall|
|00000f80| 79 2e 0d 0d 43 68 65 63 | 6b 20 62 6f 78 65 73 20 |y...Chec|k boxes |
|00000f90| 61 72 65 20 73 69 6d 70 | 6c 79 20 74 6f 67 67 6c |are simp|ly toggl|
|00000fa0| 65 64 20 6f 6e 20 61 6e | 64 20 6f 66 66 2c 20 61 |ed on an|d off, a|
|00000fb0| 73 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 66 61 |s there |is no fa|
|00000fc0| 6d 69 6c 79 20 72 65 6c | 61 74 69 6f 6e 73 68 69 |mily rel|ationshi|
|00000fd0| 70 20 62 65 74 77 65 65 | 6e 0d 63 68 65 63 6b 62 |p betwee|n.checkb|
|00000fe0| 6f 78 65 73 2e 0d 0d 50 | 6f 70 75 70 73 20 61 72 |oxes...P|opups ar|
|00000ff0| 65 20 73 69 6d 70 6c 79 | 20 74 72 61 63 6b 65 64 |e simply| tracked|
|00001000| 2e 20 20 54 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |. To de|termine |
|00001010| 77 68 61 74 20 74 68 65 | 20 70 6f 70 75 70 20 63 |what the| popup c|
|00001020| 68 6f 69 63 65 20 69 73 | 2c 20 74 68 65 20 70 6f |hoice is|, the po|
|00001030| 70 75 70 20 63 6f 6e 74 | 72 6f 6c 0d 76 61 6c 75 |pup cont|rol.valu|
|00001040| 65 20 77 69 6c 6c 20 68 | 61 76 65 20 74 6f 20 62 |e will h|ave to b|
|00001050| 65 20 72 65 74 72 65 69 | 76 65 64 2e 0d 0d 54 68 |e retrei|ved...Th|
|00001060| 65 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 20 6f |e return| value o|
|00001070| 66 20 49 73 43 74 6c 45 | 76 65 6e 74 20 69 73 20 |f IsCtlE|vent is |
|00001080| 6e 6f 6e 2d 7a 65 72 6f | 20 69 66 20 74 68 65 20 |non-zero| if the |
|00001090| 65 76 65 6e 74 20 77 61 | 73 20 68 61 6e 64 6c 65 |event wa|s handle|
|000010a0| 64 2e 20 20 54 68 65 20 | 76 61 6c 75 65 73 20 61 |d. The |values a|
|000010b0| 72 65 0d 61 73 20 66 6f | 6c 6c 6f 77 73 3a 0d 0d |re.as fo|llows:..|
|000010c0| 30 78 38 30 30 30 3a 20 | 20 20 20 20 20 20 20 20 |0x8000: | |
|000010d0| 20 20 20 20 49 73 43 74 | 6c 45 76 65 6e 74 20 73 | IsCt|lEvent s|
|000010e0| 63 72 6f 6c 6c 65 64 20 | 74 68 65 20 64 6f 63 75 |crolled |the docu|
|000010f0| 6d 65 6e 74 2e 20 20 54 | 68 65 20 63 6f 6e 73 74 |ment. T|he const|
|00001100| 61 6e 74 20 6b 53 63 72 | 6f 6c 6c 45 76 65 6e 74 |ant kScr|ollEvent|
|00001110| 20 69 73 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | is. | |
|00001120| 20 20 20 20 20 20 20 20 | 64 65 66 69 6e 65 64 20 | |defined |
|00001130| 61 73 20 30 78 38 30 30 | 30 20 66 6f 72 20 74 68 |as 0x800|0 for th|
|00001140| 69 73 20 70 75 72 70 6f | 73 65 2e 0d 30 3a 20 20 |is purpo|se..0: |
|00001150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001160| 49 73 43 74 6c 45 76 65 | 6e 74 20 64 69 64 6e 27 |IsCtlEve|nt didn'|
|00001170| 74 20 68 61 6e 64 6c 65 | 20 74 68 65 20 65 76 65 |t handle| the eve|
|00001180| 6e 74 2e 0d 61 6e 79 20 | 6f 74 68 65 72 20 76 61 |nt..any |other va|
|00001190| 6c 75 65 3a 20 20 20 20 | 54 68 65 20 63 6f 6e 74 |lue: |The cont|
|000011a0| 72 6f 6c 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |rol numb|er of th|
|000011b0| 65 20 63 6f 6e 74 72 6f | 6c 20 74 68 61 74 20 68 |e contro|l that h|
|000011c0| 61 6e 64 6c 65 64 20 74 | 68 65 20 65 76 65 6e 74 |andled t|he event|
|000011d0| 2e 20 20 52 65 6d 65 6d | 62 65 72 20 74 68 61 74 |. Remem|ber that|
|000011e0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000011f0| 20 20 20 20 20 61 20 54 | 65 78 74 45 64 69 74 20 | a T|extEdit |
|00001200| 63 6f 6e 74 72 6f 6c 20 | 6d 61 79 20 61 63 74 75 |control |may actu|
|00001210| 61 6c 6c 79 20 63 6f 6e | 73 69 73 74 20 6f 66 20 |ally con|sist of |
|00001220| 75 70 20 74 6f 20 33 20 | 63 6f 6e 74 72 6f 6c 73 |up to 3 |controls|
|00001230| 2e 20 20 54 68 65 72 65 | 20 69 73 0d 20 20 20 20 |. There| is. |
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001250| 74 68 65 20 6d 61 69 6e | 20 63 6f 6e 74 61 69 6e |the main| contain|
|00001260| 65 72 20 63 6f 6e 74 72 | 6f 6c 20 66 6f 72 20 74 |er contr|ol for t|
|00001270| 68 65 20 54 45 52 65 63 | 6f 72 64 2e 20 20 54 68 |he TERec|ord. Th|
|00001280| 65 72 65 20 6d 61 79 20 | 61 6c 73 6f 20 62 65 20 |ere may |also be |
|00001290| 31 20 6f 72 20 32 0d 20 | 20 20 20 20 20 20 20 20 |1 or 2. | |
|000012a0| 20 20 20 20 20 20 20 20 | 20 20 20 73 63 72 6f 6c | | scrol|
|000012b0| 6c 62 61 72 20 63 6f 6e | 74 72 6f 6c 73 20 74 68 |lbar con|trols th|
|000012c0| 61 74 20 61 72 65 20 72 | 65 6c 61 74 65 64 20 74 |at are r|elated t|
|000012d0| 6f 20 74 68 65 20 54 45 | 52 65 63 6f 72 64 2e 20 |o the TE|Record. |
|000012e0| 20 54 68 65 20 63 6f 6e | 74 72 6f 6c 20 6e 75 6d | The con|trol num|
|000012f0| 62 65 72 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ber. | |
|00001300| 20 20 20 20 20 20 20 20 | 72 65 66 6c 65 63 74 73 | |reflects|
|00001310| 20 77 68 69 63 68 20 63 | 6f 6e 74 72 6f 6c 20 77 | which c|ontrol w|
|00001320| 61 73 20 68 69 74 2e 20 | 20 54 68 69 73 20 61 6c |as hit. | This al|
|00001330| 6c 6f 77 73 20 64 65 74 | 65 72 6d 69 6e 61 74 69 |lows det|erminati|
|00001340| 6f 6e 20 61 73 20 74 6f | 20 77 68 65 74 68 65 72 |on as to| whether|
|00001350| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001360| 20 20 20 20 20 6f 72 20 | 6e 6f 74 20 74 68 65 20 | or |not the |
|00001370| 73 63 72 6f 6c 6c 62 61 | 72 20 77 61 73 20 68 69 |scrollba|r was hi|
|00001380| 74 2e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t.. | |
|00001390| 20 20 20 20 20 20 20 46 | 6f 72 20 54 65 78 74 45 | F|or TextE|
|000013a0| 64 69 74 20 61 6e 64 20 | 6c 69 73 74 20 63 6f 6e |dit and |list con|
|000013b0| 74 72 6f 6c 73 2c 20 65 | 76 65 6e 20 69 66 20 61 |trols, e|ven if a|
|000013c0| 20 72 65 6c 61 74 65 64 | 20 73 63 72 6f 6c 6c 62 | related| scrollb|
|000013d0| 61 72 20 77 61 73 20 68 | 69 74 2c 20 74 68 65 0d |ar was h|it, the.|
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013f0| 20 20 20 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 | cont|rol hand|
|00001400| 6c 65 20 72 65 74 75 72 | 6e 65 64 20 69 73 20 74 |le retur|ned is t|
|00001410| 68 65 20 68 61 6e 64 6c | 65 20 66 6f 72 20 74 68 |he handl|e for th|
|00001420| 65 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |e TextEd|it contr|
|00001430| 6f 6c 2e 0d 0d 4a 75 73 | 74 20 62 65 63 61 75 73 |ol...Jus|t becaus|
|00001440| 65 20 61 20 63 6f 6e 74 | 72 6f 6c 20 6e 75 6d 62 |e a cont|rol numb|
|00001450| 65 72 20 77 61 73 20 72 | 65 74 75 72 6e 65 64 20 |er was r|eturned |
|00001460| 64 6f 65 73 6e 27 74 20 | 6d 65 61 6e 20 74 68 61 |doesn't |mean tha|
|00001470| 74 20 61 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 |t a cont|rol hand|
|00001480| 6c 65 20 77 61 73 20 72 | 65 74 75 72 6e 65 64 2e |le was r|eturned.|
|00001490| 0d 49 66 20 61 6e 20 69 | 6e 61 63 74 69 76 65 20 |.If an i|nactive |
|000014a0| 73 63 72 6f 6c 6c 62 61 | 72 20 69 73 20 63 6c 69 |scrollba|r is cli|
|000014b0| 63 6b 65 64 20 6f 6e 2c | 20 74 68 65 6e 20 46 69 |cked on,| then Fi|
|000014c0| 6e 64 43 6f 6e 74 72 6f | 6c 20 72 65 74 75 72 6e |ndContro|l return|
|000014d0| 73 20 6e 69 6c 2c 20 69 | 6e 73 74 65 61 64 20 6f |s nil, i|nstead o|
|000014e0| 66 20 74 68 65 0d 63 6f | 6e 74 72 6f 6c 20 68 61 |f the.co|ntrol ha|
|000014f0| 6e 64 6c 65 20 28 72 65 | 61 6c 6c 79 29 2e 20 20 |ndle (re|ally). |
|00001500| 54 68 65 20 63 6f 6e 74 | 72 6f 6c 20 74 68 61 74 |The cont|rol that|
|00001510| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 73 20 | is retu|rned is |
|00001520| 77 68 61 74 20 46 69 6e | 64 43 6f 6e 74 72 6f 6c |what Fin|dControl|
|00001530| 20 72 65 74 75 72 6e 73 | 2c 20 61 6e 64 0d 74 68 | returns|, and.th|
|00001540| 65 72 65 66 6f 72 65 20 | 69 74 20 69 73 20 70 6f |erefore |it is po|
|00001550| 73 73 69 62 6c 79 20 6e | 69 6c 2e 0d 0d 46 6f 72 |ssibly n|il...For|
|00001560| 20 54 65 78 74 45 64 69 | 74 20 61 6e 64 20 4c 69 | TextEdi|t and Li|
|00001570| 73 74 20 63 6f 6e 74 72 | 6f 6c 73 2c 20 49 73 43 |st contr|ols, IsC|
|00001580| 74 6c 45 76 65 6e 74 20 | 73 69 6d 70 6c 79 20 63 |tlEvent |simply c|
|00001590| 61 6c 6c 73 20 43 54 45 | 43 6c 69 63 6b 2c 20 43 |alls CTE|Click, C|
|000015a0| 54 45 4b 65 79 2c 20 43 | 4c 43 6c 69 63 6b 20 6f |TEKey, C|LClick o|
|000015b0| 72 0d 43 4c 4b 65 79 2e | 20 20 54 68 65 20 76 61 |r.CLKey.| The va|
|000015c0| 6c 75 65 20 72 65 74 75 | 72 6e 65 64 20 61 73 20 |lue retu|rned as |
|000015d0| 74 68 65 20 61 63 74 69 | 6f 6e 20 64 65 70 65 6e |the acti|on depen|
|000015e0| 64 73 20 6f 6e 20 77 68 | 69 63 68 20 66 75 6e 63 |ds on wh|ich func|
|000015f0| 74 69 6f 6e 20 77 61 73 | 20 63 61 6c 6c 65 64 2e |tion was| called.|
|00001600| 20 20 54 68 65 0d 74 72 | 75 65 2f 66 61 6c 73 65 | The.tr|ue/false|
|00001610| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | returne|d by the|
|00001620| 73 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 61 73 20 |se funct|ions as |
|00001630| 74 6f 20 77 68 65 74 68 | 65 72 20 6f 72 20 6e 6f |to wheth|er or no|
|00001640| 74 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 68 61 |t the co|ntrol ha|
|00001650| 6e 64 6c 65 64 20 74 68 | 65 20 65 76 65 6e 74 0d |ndled th|e event.|
|00001660| 69 73 20 65 78 70 61 6e | 64 65 64 20 74 6f 20 62 |is expan|ded to b|
|00001670| 65 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 6e 75 |e the co|ntrol nu|
|00001680| 6d 62 65 72 2e 20 20 49 | 66 20 66 61 6c 73 65 20 |mber. I|f false |
|00001690| 69 73 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 61 |is retur|ned by a|
|000016a0| 6e 79 20 6f 66 20 74 68 | 65 73 65 20 66 75 6e 63 |ny of th|ese func|
|000016b0| 74 69 6f 6e 73 2c 20 74 | 68 65 6e 0d 49 73 43 74 |tions, t|hen.IsCt|
|000016c0| 6c 45 76 65 6e 74 20 72 | 65 74 75 72 6e 73 20 30 |lEvent r|eturns 0|
|000016d0| 20 66 6f 72 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c | for the| control|
|000016e0| 20 6e 75 6d 62 65 72 2e | 0d 0d 49 73 43 74 6c 45 | number.|..IsCtlE|
|000016f0| 76 65 6e 74 20 68 61 73 | 20 6e 6f 20 77 61 79 20 |vent has| no way |
|00001700| 6f 66 20 64 65 74 65 72 | 6d 69 6e 69 6e 67 20 69 |of deter|mining i|
|00001710| 66 20 79 6f 75 20 61 72 | 65 20 61 63 74 75 61 6c |f you ar|e actual|
|00001720| 6c 79 20 75 73 69 6e 67 | 20 54 65 78 74 45 64 69 |ly using| TextEdi|
|00001730| 74 20 6f 72 20 4c 69 73 | 74 20 63 6f 6e 74 72 6f |t or Lis|t contro|
|00001740| 6c 73 2e 0d 53 69 6e 63 | 65 20 69 74 20 68 61 73 |ls..Sinc|e it has|
|00001750| 20 74 6f 20 6d 61 6b 65 | 20 66 75 6e 63 74 69 6f | to make| functio|
|00001760| 6e 20 63 61 6c 6c 73 20 | 73 65 72 76 69 63 65 20 |n calls |service |
|00001770| 74 68 65 73 65 20 63 6f | 6e 74 72 6f 6c 73 2c 20 |these co|ntrols, |
|00001780| 63 6f 64 65 20 6d 61 79 | 20 67 65 74 20 6c 69 6e |code may| get lin|
|00001790| 6b 65 64 20 69 6e 74 6f | 20 79 6f 75 72 0d 61 70 |ked into| your.ap|
|000017a0| 70 6c 69 63 61 74 69 6f | 6e 20 74 68 61 74 20 79 |plicatio|n that y|
|000017b0| 6f 75 20 64 6f 6e 27 74 | 20 6e 65 65 64 2e 20 20 |ou don't| need. |
|000017c0| 54 6f 20 70 72 65 76 65 | 6e 74 20 74 68 69 73 2c |To preve|nt this,|
|000017d0| 20 49 73 43 74 6c 45 76 | 65 6e 74 20 63 61 6c 6c | IsCtlEv|ent call|
|000017e0| 73 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |s the ap|propriat|
|000017f0| 65 0d 66 75 6e 63 74 69 | 6f 6e 73 20 62 79 20 66 |e.functi|ons by f|
|00001800| 75 6e 63 74 69 6f 6e 20 | 70 6f 69 6e 74 65 72 2e |unction |pointer.|
|00001810| 20 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 66 75 | The de|fault fu|
|00001820| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 6a 75 73 74 |nctions |are just|
|00001830| 20 73 74 75 62 20 66 75 | 6e 63 74 69 6f 6e 73 20 | stub fu|nctions |
|00001840| 74 68 61 74 20 72 65 74 | 75 72 6e 0d 61 70 70 72 |that ret|urn.appr|
|00001850| 6f 70 72 69 61 74 65 20 | 72 65 73 75 6c 74 73 20 |opriate |results |
|00001860| 61 73 20 69 66 20 74 68 | 65 72 65 20 77 65 72 65 |as if th|ere were|
|00001870| 20 6e 6f 20 73 75 63 68 | 20 63 6f 6e 74 72 6f 6c | no such| control|
|00001880| 73 2e 20 20 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |s. This| allows |
|00001890| 49 73 43 74 6c 45 76 65 | 6e 74 20 74 6f 20 68 61 |IsCtlEve|nt to ha|
|000018a0| 6e 64 6c 65 0d 74 68 65 | 20 63 61 73 65 20 77 68 |ndle.the| case wh|
|000018b0| 65 72 65 20 74 68 65 73 | 65 20 63 6f 6e 74 72 6f |ere thes|e contro|
|000018c0| 6c 73 20 61 72 65 6e 27 | 74 20 75 73 65 64 20 77 |ls aren'|t used w|
|000018d0| 69 74 68 6f 75 74 20 6c | 69 6e 6b 69 6e 67 20 69 |ithout l|inking i|
|000018e0| 6e 20 61 20 62 75 6e 63 | 68 20 6f 66 20 63 6f 64 |n a bunc|h of cod|
|000018f0| 65 2e 0d 0d 53 6f 20 77 | 68 61 74 20 61 62 6f 75 |e...So w|hat abou|
|00001900| 74 20 74 68 65 20 63 61 | 73 65 20 77 68 65 72 65 |t the ca|se where|
|00001910| 20 79 6f 75 20 44 4f 20 | 77 61 6e 74 20 74 6f 20 | you DO |want to |
|00001920| 75 73 65 20 74 68 65 73 | 65 20 63 6f 6e 74 72 6f |use thes|e contro|
|00001930| 6c 73 3f 20 20 54 6f 20 | 63 72 65 61 74 65 20 6f |ls? To |create o|
|00001940| 6e 65 20 6f 66 20 74 68 | 65 73 65 0d 63 6f 6e 74 |ne of th|ese.cont|
|00001950| 72 6f 6c 73 2c 20 79 6f | 75 20 68 61 76 65 20 74 |rols, yo|u have t|
|00001960| 6f 20 63 61 6c 6c 20 65 | 69 74 68 65 72 20 43 54 |o call e|ither CT|
|00001970| 45 4e 65 77 20 6f 72 20 | 43 4c 4e 65 77 2c 20 66 |ENew or |CLNew, f|
|00001980| 6f 72 20 54 65 78 74 45 | 64 69 74 20 61 6e 64 20 |or TextE|dit and |
|00001990| 4c 69 73 74 20 63 6f 6e | 74 72 6f 6c 73 2c 0d 72 |List con|trols,.r|
|000019a0| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 20 20 28 4f |espectiv|ely. (O|
|000019b0| 72 2c 20 69 66 20 79 6f | 75 20 61 72 65 20 75 73 |r, if yo|u are us|
|000019c0| 69 6e 67 20 74 68 65 20 | 41 70 70 73 54 6f 47 6f |ing the |AppsToGo|
|000019d0| 20 70 72 6f 67 72 61 6d | 20 65 64 69 74 6f 72 2c | program| editor,|
|000019e0| 20 79 6f 75 20 73 69 6d | 70 6c 79 20 63 72 65 61 | you sim|ply crea|
|000019f0| 74 65 20 74 68 65 6d 0d | 69 6e 20 61 20 66 61 73 |te them.|in a fas|
|00001a00| 68 69 6f 6e 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |hion sim|ilar to |
|00001a10| 52 65 73 45 64 69 74 2e | 29 0d 0d 57 68 65 6e 20 |ResEdit.|)..When |
|00001a20| 43 54 45 4e 65 77 20 69 | 73 20 63 61 6c 6c 65 64 |CTENew i|s called|
|00001a30| 2c 20 69 74 20 63 61 6c | 6c 73 20 43 54 45 49 6e |, it cal|ls CTEIn|
|00001a40| 69 74 69 61 6c 69 7a 65 | 2e 20 20 43 54 45 49 6e |itialize|. CTEIn|
|00001a50| 69 74 69 61 6c 69 7a 65 | 20 72 65 70 6c 61 63 65 |itialize| replace|
|00001a60| 73 20 61 6c 6c 0d 6f 66 | 20 74 68 65 20 73 74 75 |s all.of| the stu|
|00001a70| 62 20 66 75 6e 63 74 69 | 6f 6e 20 70 72 6f 63 65 |b functi|on proce|
|00001a80| 64 75 72 65 20 70 6f 69 | 6e 74 65 72 73 20 77 69 |dure poi|nters wi|
|00001a90| 74 68 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 74 |th point|ers to t|
|00001aa0| 68 65 20 61 63 74 75 61 | 6c 20 66 75 6e 63 74 69 |he actua|l functi|
|00001ab0| 6f 6e 73 2e 0d 49 66 20 | 79 6f 75 20 63 61 6c 6c |ons..If |you call|
|00001ac0| 20 43 54 45 4e 65 77 2c | 20 74 68 65 6e 20 43 54 | CTENew,| then CT|
|00001ad0| 45 4e 65 77 20 77 69 6c | 6c 20 67 65 74 20 6c 69 |ENew wil|l get li|
|00001ae0| 6e 6b 65 64 20 69 6e 2e | 20 20 53 69 6e 63 65 20 |nked in.| Since |
|00001af0| 43 54 45 4e 65 77 20 63 | 61 6c 6c 73 0d 43 54 45 |CTENew c|alls.CTE|
|00001b00| 49 6e 69 74 69 61 6c 69 | 7a 65 2c 20 43 54 45 49 |Initiali|ze, CTEI|
|00001b10| 6e 69 74 69 61 6c 69 7a | 65 20 77 69 6c 6c 20 67 |nitializ|e will g|
|00001b20| 65 74 20 6c 69 6e 6b 65 | 64 20 69 6e 2e 20 20 53 |et linke|d in. S|
|00001b30| 69 6e 63 65 20 69 74 20 | 72 65 66 65 72 65 6e 63 |ince it |referenc|
|00001b40| 65 73 20 74 68 65 20 61 | 63 74 75 61 6c 0d 63 6f |es the a|ctual.co|
|00001b50| 64 65 2c 20 74 68 65 20 | 61 63 74 75 61 6c 20 63 |de, the |actual c|
|00001b60| 6f 64 65 20 77 69 6c 6c | 20 67 65 74 20 6c 69 6e |ode will| get lin|
|00001b70| 6b 65 64 20 69 6e 2e 20 | 20 54 68 69 73 20 61 6c |ked in. | This al|
|00001b80| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 6e 6f 74 20 |lows you| to not |
|00001b90| 68 61 76 65 20 74 6f 20 | 77 6f 72 72 79 20 61 62 |have to |worry ab|
|00001ba0| 6f 75 74 0d 73 70 65 63 | 69 66 69 63 20 69 6d 70 |out.spec|ific imp|
|00001bb0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 73 20 6c 69 6e |lementat|ions lin|
|00001bc0| 6b 69 6e 67 20 69 6e 20 | 74 6f 6f 20 6d 75 63 68 |king in |too much|
|00001bd0| 20 63 6f 64 65 2e 20 20 | 49 66 20 79 6f 75 20 63 | code. |If you c|
|00001be0| 61 6c 6c 20 69 74 2c 20 | 69 74 20 77 69 6c 6c 20 |all it, |it will |
|00001bf0| 6c 69 6e 6b 2e 20 20 54 | 68 65 0d 61 62 6f 76 65 |link. T|he.above|
|00001c00| 20 70 72 6f 63 65 73 73 | 20 69 73 20 61 6c 73 6f | process| is also|
|00001c10| 20 64 6f 6e 65 20 66 6f | 72 20 4c 69 73 74 20 63 | done fo|r List c|
|00001c20| 6f 6e 74 72 6f 6c 73 2e | 20 0d 0d 0d 01 a6 00 15 |ontrols.| .......|
|00001c30| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 12 5c | 00 0b 00 09 00 04 05 00 |.......\|........|
|00001c50| 00 09 00 00 00 00 00 00 | 00 00 12 64 00 0b 00 09 |........|...d....|
|00001c60| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 12 66 |........|.......f|
|00001c70| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001c80| 00 00 12 6c 00 0b 00 09 | 00 04 00 00 00 09 00 00 |...l....|........|
|00001c90| 00 00 00 00 00 00 12 6e | 00 0b 00 09 00 04 05 00 |.......n|........|
|00001ca0| 00 09 00 00 00 00 00 00 | 00 00 12 75 00 0b 00 09 |........|...u....|
|00001cb0| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 12 79 |........|.......y|
|00001cc0| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 12 7e 00 0b 00 09 | 00 04 00 00 00 09 00 00 |...~....|........|
|00001ce0| 00 00 00 00 00 00 16 35 | 00 0b 00 09 00 04 05 00 |.......5|........|
|00001cf0| 00 09 00 00 00 00 00 00 | 00 00 16 3b 00 0b 00 09 |........|...;....|
|00001d00| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 16 3f |........|.......?|
|00001d10| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 16 44 00 0b 00 09 | 00 04 00 00 00 09 00 00 |...D....|........|
|00001d30| 00 00 00 00 00 00 16 e7 | 00 0b 00 09 00 04 05 00 |........|........|
|00001d40| 00 09 00 00 00 00 00 00 | 00 00 16 ed 00 0b 00 09 |........|........|
|00001d50| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 17 88 |........|........|
|00001d60| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 17 8e 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 17 95 | 00 0b 00 09 00 04 05 00 |........|........|
|00001d90| 00 09 00 00 00 00 00 00 | 00 00 17 9b 00 0b 00 09 |........|........|
|00001da0| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 17 b7 |........|........|
|00001db0| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 17 bd 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001dd0| 00 00 00 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+